<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$route['404_override'] = '';
$route['default_controller'] = "manage/index/index";
$route['index'] = "manage/index/index";

$route['login'] = "manage/user/login";
$route['logout'] = "manage/user/logout";

$route['delete-task'] = "manage/task/deleteTask";
$route['user-profile'] = "manage/user/userprofile";

/**
 * void project
 */ 
$route['project'] = "manage/index/index";
$route['project-detail'] = "manage/project/detail";
$route['project-detail/(:num)'] = "manage/project/detail";
$route['project-pin'] = "manage/project/pin";
$route['project-pin/(:num)'] = "manage/project/pin";
$route['project-deactive'] = "manage/project/deactive";
$route['project-deactive/(:num)/(:num)'] = "manage/project/deactive";

$route['add-project'] = "manage/project/add";
$route['edit-project/(:num)'] = "manage/project/edit";
/**
* void module
**/
$route['add-task'] = "manage/task/addTask";
$route['add-rate'] = "manage/task/addRate";

$route['edit-task'] = "manage/task/editTask";
$route['edit-task/(:num)'] = "manage/task/editTask";


/**
 * @void manager
 */ 
 
$route['manager-user'] = "manage/manager/listUser";
$route['manager-user/(:num)'] = "manage/manager/listUser";
$route['add-user'] = "manage/manager/add";
$route['edit-user/(:num)'] = "manage/manager/edit";
$route['delete-user/(:num)'] = "manage/manager/delete";

//Phần project mới thêm
$route['list-project'] = "manage/project/listProject";
$route['report-project'] = "manage/project/reportProject";
$route['report-project/:(num)'] = "manage/project/reportProject";
$route['report-user'] = "manage/reportuser/listProject";
$route['report-user/list-module'] = "manage/reportuser/listModule";
$route['report-user/send-mail'] = "manage/reportuser/sendMail";
$route['delete-project'] = "manage/project/deleteProject";
$route['add-comment-project'] = "manage/project/addCommentP";
$route['add-comment-module'] = "manage/project/addCommentM";
$route['del-comment-project'] = "manage/project/delCommentP";
$route['del-comment-module'] = "manage/project/delCommentM";
$route['stop-module'] = "manage/task/stopM";
$route['start-module'] = "manage/task/startM";

$route['change-user'] = "manage/task/changeuser";

